<template>
	<view class="wrapper">
		<u-navbar title="个人中心" @rightClick="rightClick" :autoBack="true" bgColor="transparent">
		</u-navbar>
		<u-image :showLoading="true" :src="src" width="100vw" mode="widthFix" :fade="true" duration="450"
			lazyLoad></u-image>
		<view class="btn-group">
			<view class="btn">
				发送给好友
			</view>
			<view class="btn">
				保存
			</view>
			<view class="btn">
				编辑
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				src: ''
			}
		},
		onLoad(options) {
			this.src = options.url
		}
	}
</script>

<style lang="scss" scoped>
	.wrapper {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		/deep/ .u-navbar__content__title {
			display: none !important;
		}
		.btn-group {
			display: flex;
			align-items: center;
			justify-content: center;
			.btn {
				padding: 10rpx 30rpx;
				background: #3c9cff;
				color: #fff;
				border-radius: 40rpx;
				margin: 20rpx;
			}
		}
	}
</style>